package com.yuntu.chapter3;

/**
 * @author MrWang-shuizhishuiheshui
 * @description
 */
public class Demo2 {
    public static void main(String[] args) {
        int scoreJava=99;
        int scoreMusic=88;
        //逻辑运算符  :  &&且   ||或   !非
        //  ( scoreJava>98  &&  scoreMusic>80 ) || ( scoreJava==100  &&  scoreMusic>70 )

        if (( scoreJava>98  &&  scoreMusic>80 ) || ( scoreJava==100  &&  scoreMusic>70 )){
            System.out.println("奖励");
        }

    }
}
